package com.xqboss.apps.domain.box;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 箱子优先购
 */
@Data
public class BoxPriorityBuy extends BaseTable {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 箱子ID
     */
    private Long boxId;
    /**
     * 开售时间
     */
    private LocalDateTime publishTimeStart;
    /**
     * 停售时间
     */
    private LocalDateTime publishTimeEnd;
    /**
     * 限购数量
     */
    private Integer limitStock;
}
